package javabook.ch05;

class Sungjuk_5_1 { 
	 String hakbun; 
	 String name; 
	 int jumsu; 
}

class Jv_5_1 { 
	public static void main(String[] args) { 
		
	Sungjuk_5_1 ken_sung = new Sungjuk_5_1(); 
	ken_sung.hakbun = "2060001"; 
	ken_sung.name = "Ko Eung-Nam"; 
	ken_sung.jumsu = 60; 
	
	Sungjuk_5_1 wife_sung = new Sungjuk_5_1(); 
	wife_sung.hakbun = "2060002"; 
	wife_sung.name = "Boo Chag-Mi"; 
	wife_sung.jumsu = 80; 
	
	Sungjuk_5_1 yoo_sung = new Sungjuk_5_1(); 
	yoo_sung.hakbun = "2060003"; 
	yoo_sung.name = "Ko Yoo-Jin"; 
	yoo_sung.jumsu = 100; 
	
	Sungjuk_5_1 soo_sung = new Sungjuk_5_1(); 
	soo_sung.hakbun = "2060004"; 
	soo_sung.name = "Ko Su-Ji"; 
	soo_sung.jumsu = 99; 
	
	System.out.println("****** 자바의 객체 생성 및 속성 사용 *****"); 
	System.out.println("*** 자바의 성적 출력 ***"); 
	System.out.println("**학번** **성명** **점수**"); 
	System.out.println("---------------------------"); 
	
	System.out.println(ken_sung.hakbun + " " + ken_sung.name + " " + ken_sung.jumsu); 
	System.out.println(wife_sung.hakbun + " " + wife_sung.name + " " + wife_sung.jumsu); 
	System.out.println(yoo_sung.hakbun + " " + yoo_sung.name + " " + yoo_sung.jumsu); 
	System.out.println(soo_sung.hakbun + " " + soo_sung.name + " " + soo_sung.jumsu); 
	 } 
} 
